package com.example.feigner;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.HashMap;
import java.util.Map;

/**
 * @author cxx
 * @create 2020-01-18 0:27
 **/
@Configuration
@ConfigurationProperties("gateway")
public class GatewayConfiguration {

    private Map<String,String> route = new HashMap<> ();

    public Map<String, String> getRoute() {
        return route;
    }
}
